﻿using System;
using System.Configuration;
using System.Linq;
using Berida.Reactor.Application.Core.Config;

namespace Tmkilla.Localizr.Web.Base.Config
{
    public class Configuration : ConfigurationBase
    {
        #region Attributes

        public static readonly string ProductVersion = string.IsNullOrEmpty(ConfigurationManager.AppSettings["Web_ProductVersion"]) ? "0.0.0.0" : ConfigurationManager.AppSettings["Web_ProductVersion"];
        public static readonly string Theme = string.IsNullOrEmpty(ConfigurationManager.AppSettings["Web_Theme"]) ? "Default" : ConfigurationManager.AppSettings["Web_Theme"];

        #endregion

        #region Public methods 

        public static void Init()
        {
            ConfigurationBase.Init(System.Globalization.CultureInfo.CurrentCulture, "uPz6uTIq6BccTofwAZDkFA==");
        }

        #endregion


    }
}